package com.team.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 活动表
 */
@Data
@TableName(value = "t_activity")
public class Activity {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 行程外键ID
     */
    @TableField(value = "journey_id")
    private Long journeyId;

    /**
     * 活动名称 标题  例出发 景点
     */
    @TableField(value = "activity_name")
    private String activityName;

    /**
     * 活动详情
     */
    @TableField(value = "activity_details")
    private String activityDetails;

    /**
     * 活动开始时间
     */
    @TableField(value = "activity_start_time")
    private Date activityStartTime;

    /**
     * 活动摘要
     */
    @TableField(value = "activity_abstract")
    private String activityAbstract;

    /**
     * 活动地点
     */
    @TableField(value = "activity_address")
    private String activityAddress;

    /**
     * 活动价格 门票
     */
    @TableField(value = "activity_price")
    private Double activityPrice;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 车程时长
     */
    @TableField(value = "drive_time")
    private String driveTime;

    /**
     * 活动消费标准
     */
    @TableField(value = "activity_consume")
    private Long activityConsume;

    /**
     * 活动时长
     */
    @TableField(value = "activity_time")
    private Long activityTime;

    /**
     * 活动图片参考
     */
    @TableField(value = "activity_img")
    private String activityImg;

    @TableField(value = "state")
    private Integer state;

    public static final String COL_ID = "id";

    public static final String COL_JOURNEY_ID = "journey_id";

    public static final String COL_ACTIVITY_NAME = "activity_name";

    public static final String COL_ACTIVITY_DETAILS = "activity_details";

    public static final String COL_ACTIVITY_START_TIME = "activity_start_time";

    public static final String COL_ACTIVITY_ABSTRACT = "activity_abstract";

    public static final String COL_ACTIVITY_ADDRESS = "activity_address";

    public static final String COL_ACTIVITY_PRICE = "activity_price";

    public static final String COL_REMARK = "remark";

    public static final String COL_DRIVE_TIME = "drive_time";

    public static final String COL_ACTIVITY_CONSUME = "activity_consume";

    public static final String COL_ACTIVITY_TIME = "activity_time";

    public static final String COL_ACTIVITY_IMG = "activity_img";

    public static final String COL_STATE = "state";
}